package com.fangshicai.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName User
 * @Description TODO
 * @Author fangshicai
 * @Date 2021/7/16 9:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

    //所有属性必须在数据库中才行，不行的要@TableField(exist = false)
    @TableField(exist = false)
    private String userName;
    @TableField(exist = false)
    private String passWord;

    private Long id;
    private  String name;
    private Integer age;
    private String email;

}
